const express = require('express')
const router = express.Router();
const {getFilterRulerListByGroupIdController,modifyFilterRulerController,deleteFilterRulerController,addFilterRulerController}=require("../controller/filterRuler")


//按组id查询过滤规则
router.get("/filterRuler/:groupId",getFilterRulerListByGroupIdController)

//新增过滤规则
router.post("/addFilterRuler",addFilterRulerController)

//编辑过滤规则
router.put("/modifyFilterRuler",modifyFilterRulerController)

//删除过滤规则
router.delete("/filterRuler/:filterRulerId",deleteFilterRulerController)

module.exports=router
